<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
        body
        {
            perspective: 800px;
            border: 1px red solid;
            background-color: rgb(241, 241, 241);
        }
        .box1
        {
            width: 200px;
            height: 200px;
            background-image: url("../../HTML-JS资料/伊蕾娜素材EN/img01.jpeg");
            margin: 200px auto;
            transition:5s;
        }
        body:hover .box1
        {
            /*
            通过旋转可以使元素沿着x y z旋转特定的角度
            rotateX()
            rotateY()
            rotateZ()
            */
            transform: rotateY(10000turn);
            /*
            是否显示元素的背面 默认是显示
            默认visible 显示
            hidden隐藏
            */
            backface-visibility: hidden;
        }
    </style>
</head>
<body>
    <div class="box1"></div>
</body>
</html>